package com.example.tse.rbhttpservice.service.moments.model;

import java.util.List;
import java.util.ArrayList;
import com.example.tse.rbhttpservice.service.RudderResponse;


/**
 * 获取活动列表，用于发表帖子时选择活动，仅需要ID＋名称
 * @author wliu
 * edit tse
 */
public class MomentsGetActivityList extends RudderResponse{
    
    private String activityId = "";
		
    
    private String title = "";
		
	
    /**
     * @return activityId
     */	
    public String getActivityId() { 
	    return this.activityId;
    };
	
	/**
     * @return activityId
     */	
    public void setActivityId(String activityId) { 
        this.activityId = activityId;
    };
    
    /**
     * @return title
     */	
    public String getTitle() { 
	    return this.title;
    };
	
	/**
     * @return title
     */	
    public void setTitle(String title) { 
        this.title = title;
    };
    
	
        
    public static void filter(MomentsGetActivityList moments) {
        if (moments.getActivityId() == null) {
            moments.setActivityId("");
        }
        if (moments.getTitle() == null) {
            moments.setTitle("");
        }
    }
}
